MCS_FLAGS = -debug -nowarn:0169
ASSEMBLY_NAME = SharpEntropy
ASSEMBLY = $(ASSEMBLY_NAME).dll

opennlpdir = $(pkglibdir)
opennlp_SCRIPTS = $(ASSEMBLY) $(ASSEMBLY).mdb

ASSEMBLY_REFERENCES =

ASSEMBLY_SOURCES = \
	$(srcdir)/AbstractDataIndexer.cs \
	$(srcdir)/BasicContextGenerator.cs \
	$(srcdir)/BasicEventReader.cs \
	$(srcdir)/ComparableEvent.cs \
	$(srcdir)/GisModel.cs \
	$(srcdir)/GisTrainer.cs \
	$(srcdir)/IContextGenerator.cs \
	$(srcdir)/IMaximumEntropyModel.cs \
	$(srcdir)/IO/BinaryGisModelReader.cs \
	$(srcdir)/IO/BinaryGisModelWriter.cs \
	$(srcdir)/IO/GisModelReader.cs \
	$(srcdir)/IO/GisModelWriter.cs \
	$(srcdir)/IO/IGisModelReader.cs \
	$(srcdir)/IO/JavaBinaryGisModelReader.cs \
	$(srcdir)/IO/JavaBinaryGisModelWriter.cs \
	$(srcdir)/IO/PlainTextGisModelReader.cs \
	$(srcdir)/IO/PlainTextGisModelWriter.cs \
	$(srcdir)/ITrainingDataIndexer.cs \
	$(srcdir)/ITrainingDataReader.cs \
	$(srcdir)/ITrainingEventReader.cs \
	$(srcdir)/OnePassDataIndexer.cs \
	$(srcdir)/PatternedPredicate.cs \
	$(srcdir)/PlainTextByLineDataReader.cs \
	$(srcdir)/TrainingEvent.cs \
	$(srcdir)/TwoPassDataIndexer.cs

$(ASSEMBLY): $(ASSEMBLY_SOURCES)
	$(MCS) $(MCS_FLAGS) -target:library -out:$@ $(ASSEMBLY_REFERENCES) $(ASSEMBLY_SOURCES)

EXTRA_DIST = \
	$(ASSEMBLY_SOURCES)

CLEANFILES = $(ASSEMBLY) *.dll *.exe
DISTCLEANFILES = *.mdb
MAINTAINERCLEANFILES = Makefile.in
